/*
 * portDialog.h
 *
 *  Created on: 2009-02-12
 *      Author: ck
 */

#ifndef PORTDIALOG_H_
#define PORTDIALOG_H_
#import <QDialog>
#import <QLineEdit>
#import <QPushButton>
#import <QHBoxLayout>

class InputDialog : public QDialog
{
	Q_OBJECT
public:
	InputDialog(QString title, QString btnLabel, QWidget * parent = 0, Qt::WindowFlags f = 0);
	virtual ~InputDialog();
private:
	QLineEdit * edPort;
	QPushButton * btnOk;
private slots:
	void onOkClicked();

signals:
	void valueSet(QString);
};

#endif /* PORTDIALOG_H_ */
